package com.ayoka.parenting.ui.grown.list;

import android.support.v4.app.FragmentManager;

import com.ayoka.parenting.bean.BaseResponse;
import com.ayoka.parenting.bean.ClassroomBean;
import com.ayoka.parenting.interf.RequestCallback;
import com.ayoka.parenting.mvp.BasePresenter;
import com.ayoka.parenting.mvp.BaseView;

import java.util.List;

/**
 * @ProjectName: MVPPlugin.
 * @ClassName: GrownListContract.
 * @Description: .
 * @Author: jincp.
 * @CreateDate: 2019/10/10 18:17.
 */
public class GrownListContract {

    interface View extends BaseView {
        void configAllClassRoomListData(List<ClassroomBean> listData);
    }

    interface Presenter extends BasePresenter<View> {
        void getAllClassRoomListData(int classroomType);
    }

    interface Model {
        void getAllClassRoomListData(BasePresenter presenter, int classroomType, RequestCallback<List<ClassroomBean>> callback);
    }
}
